set(LinkControl_DIRS "C:\\Program Files\\Kithara\\LinkControl RealTime Driver\\dev")
# 指定库文件所在路径
find_library(LinkControl_x64_LIBRARIES NAMES LinkControl_x64 PATHS ${LinkControl_DIRS})

# 指定库头文件所在路径
find_path(LinkControl_x64_INCLUDE_DIRS  NAMES LinkControl.h PATHS ${LinkControl_DIRS})

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(LinkControl_x64 DEFAULT_MSG
    LinkControl_x64_LIBRARIES LinkControl_x64_INCLUDE_DIRS)
mark_as_advanced(LinkControl_x64_INCLUDE_DIRS LinkControl_x64_LIBRARIES)
# Define imported target 'Example'
add_library(LinkControl_x64 INTERFACE)
target_include_directories(LinkControl_x64 INTERFACE ${LinkControl_x64_INCLUDE_DIRS})
target_link_libraries(LinkControl_x64 INTERFACE ${LinkControl_x64_LIBRARIES})
